﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GBlason.ViewModel.Contract
{
    /// <summary>
    /// Contains all the features allowing to delete items with cascading delete
    /// </summary>
    public interface IDeletionConstrained
    {
        /// <summary>
        /// Gets the constraints.
        /// Contains all the other component linked, which have to be deleted if this element is deleted
        /// </summary>
        IList<CoatOfArmComponent> Constraints { get; } 
    }
}
